Lesson 0007 · ~10 min

Multi-head attention

Core idea: Multiple heads let the model track different kinds of relevance in parallel.

What to remember

Why it matters

A single attention pattern is too limiting for language’s many simultaneous relationships.

Mental model

Same context, several attention mechanisms, several relevance patterns, then combine their outputs.

Checkpoint

  1. Why is one attention head often insufficient?
  2. What does multi-head attention buy conceptually?